package com.cloud.service;

import com.cloud.dto.NewsDto;
import com.cloud.dto.UserDto;
import com.cloud.entity.News;

import java.util.List;

public interface NewsService {
    NewsDto SendNews(NewsDto newsDto);
    NewsDto setNews(String info, UserDto userDto);
    List<NewsDto> getAllNews(Integer team_id);
}
